package com.jingyanzi.member.domain.result;

public class PageAll {
	
	//当前页
	private Integer pageNumber;
	
	//每页大小
	private Integer pageSize;
	
	//总数
	private Integer total;
	
	//数据
	private Object rows;

	public Integer getPageNumber() {
		return pageNumber;
	}

	public void setPageNumber(Integer pageNumber) {
		this.pageNumber = pageNumber;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getTotal() {
		return total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}

	public Object getRows() {
		return rows;
	}

	public void setRows(Object rows) {
		this.rows = rows;
	}

	public PageAll(Integer pageNumber, Integer pageSize, Integer total, Object rows) {
		super();
		this.pageNumber = pageNumber;
		this.pageSize = pageSize;
		this.total = total;
		this.rows = rows;
	}

	public PageAll() {
		super();
	}

	@Override
	public String toString() {
		return "PageAll [pageNumber=" + pageNumber + ", pageSize=" + pageSize + ", total=" + total + ", rows=" + rows
				+ "]";
	}
	
}
